using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

namespace DD.Ratings
{
    public static class RatingManager
    {
        public static int GetUserProductRating(int uid, int pid)
        {
            return DD.Data.SQL.RatingManager.GetUserProductRating(uid, pid);
        }

        public static void AddUpdateUserProductRating(int uid, int pid, int rating)
        {
            DD.Data.SQL.RatingManager.AddUpdateUserProductRating(uid, pid, rating);
        }
    }
}
